package com.ml.utils.asset;

import com.ml.utils.test.entity.Children;
import com.ml.utils.test.entity.Dou;

/**
 * @author zhaozongyi@mmears.com
 * @date 2021-06-03
 * @time 14:34
 */
public class Asset {
    public static void main(String[] args) throws InstantiationException, IllegalAccessException {

        EntityChildren entityChildren = new EntityChildren();
        Children cd = new Children();
        cd.setId(3l);
        cd.setFid(4l);
        cd.selectById(cd);
        entityChildren.entityHandler(cd, Children.class);
        System.out.println("-------------------");
        Dou dd = new Dou();
        dd.setId(6l);
        dd.setFid(6l);
        dd.selectById(dd);
        entityChildren.entityHandler(dd, Dou.class);

//        System.out.println(cd.getFid());
//        System.out.println(cd.add());
//        System.out.println(cd.getById());
    }

}
